]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
padOsd: Fix double styling
authorCarlos Garnacho <carlosg@gnome.org>
Thu, 28 May 2020 11:38:36 +0000 (13:38 +0200)
committerFlorian Müllner <florian.muellner@gmail.com>
Fri, 29 May 2020 18:06:48 +0000 (18:06 +0000)
We set the StLabel style property, there's no need to re-apply the
large/bold text style via markup. Makes the StLabel text size consistent
across editable state changes.

https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1290

js/ui/padOsd.js

index d898c3560caa97c890d33c98c6cb1273484ecabc..221c8ddd6d28202c4ea3a6d7f297fe13e9d1cc0b 100644 (file)
@@ -868,8 +868,7 @@ var PadOsd = GObject.registerClass({
             this._tipLabel.set_text(_("Press any key to exit"));
         }
 
-        this._titleLabel.clutter_text.set_markup(
-            '<span size="larger"><b>%s</b></span>'.format(title));
+        this._titleLabel.set_text(title);
     }
 
     _isEditedAction(type, number, dir) {